Coherent adaptive calibration system and method

ABSTRACT

A receiver is adaptively calibrated by using a coherent reference signal. The reference signal is selected to be offset from a center frequency of the calibration signal such that the resultant product is offset from baseband by some small amount. The resultant product is used to determine a next value of the calibration parameters.

REFERENCE TO PRIOR APPLICATION

[0001] This application is a continuation of U.S. application Ser. No. 09/325,073, filed Jun. 3, 1999.

BACKGROUND OF THE INVENTION

[0002] 1. Field of the Invention

[0003] The present invention relates to a wireless communications. More particularly, the present invention relates to adaptive calibration of a receiver system.

[0004] 2. Description of the Related Art

[0005] With the advent and proliferation of digital communications systems, the need for low cost, high performance radio receivers continues to accelerate. These needs have prompted a strong interest in the development of direct conversion receiver architectures that implement a single conversion from a wireless link carrier frequency to a baseband frequency. The reduced complexity of direct conversion receivers holds great potential for reduced cost and increased performance.

[0006] Many modem digital communications systems use a form of quadrature modulation in which the wireless signal includes in-phase (I) and quadrature (Q) components which carry information with a relative phase offset of 90°. Typically, the in-phase and quadrature components are received using two distinct signal paths within a direct conversation receiver. Any difference in the gain or phase between the two paths corrupts the information in the signal. In addition, any DC offset or low frequency noise voltage which is generated by the receiver also corrupts the information in the signal.

[0007] In order to reduce the corruption, direct conversion receivers often employ an adaptive calibration mechanism. For example, prior art systems have been proposed which include a non-coherent adaptive calibration mechanism. However, such non-coherent adaptive calibration mechanisms exhibit high noise figures and, thus, do not accurately calibrate for receiver imperfections.

[0008] Therefore, there is a need in the art to develop an adaptive calibration system which provides accurate, low noise calibration.

SUMMARY OF THE INVENTION

[0009] A coherent adaptive calibration receiver and method is used to adjust for errors within a receiver, such as, for example, a direct conversion receiver used to receive a radio frequency signal. A series of first channel signal samples are summed with a first channel offset correction parameter to produce a corrected series of first channel samples. A series of second channel signal samples are summed with a second channel offset correction parameter and then multiplied by a gain imbalance correction parameter and summed with a product of the corrected series of the first channel samples and a phase error correction parameter to create a corrected set of second channel samples. When corrected, the first and second channels are orthogonal to one another.

[0010] The corrected series of first channel samples are multiplied with a first sinusoidal waveform to determine a first product. The corrected series of second channel samples are multiplied with a second sinusoidal waveform to determine a second product, the second sinusoidal waveform being 90 degrees out of phase with the first sinusoidal waveform.

[0011] The first product is filtered to determine a first channel gain imbalance measurement. The second product is filtered to determine a second channel gain imbalance measurement. A next value of the gain imbalance correction parameter is determined based upon the first and second channel gain imbalance measurements. In one embodiment, the multiplication and filtering are performed digitally.

[0012] Alternatively or in addition, the corrected series of second channel samples is multiplied with the first sinusoidal waveform to determine a third product. The third product is filtered to determine a phase error measurement. A next value of the phase correction parameter is determined based upon the first gain imbalance measurement and the phase error measurement.

[0013] In one embodiment, the invention is embodied in a receiver. The 30 receiver has a first summer configured to sum a series of first channel signal samples with a first channel offset correction parameter to produce a corrected series of first channel samples. The receiver also has a first multiplier configured to multiply the corrected series of the first channel samples and a phase error correction parameter. A second summer is configured to sum a series of second channel signal samples with a second channel offset correction parameter. A second multiplier is configured to multiply an output of the second summer by a gain imbalance correction. A third summer is configured to sum an output of the first multiplier and the second multiplier to create a corrected set of second channel samples, wherein the second channel is orthogonal to the first channel. A third multiplier is configured to multiply the corrected series of first channel samples by a first digitized sinusoidal waveform. A fourth multiplier configured to multiply the corrected series of second channel samples by a second digitized sinusoidal waveform, the second digitized sinusoidal waveform being 90 degrees out of phase with the first digitized sinusoidal waveform. A first digital filter configured to filter an output of the third multiplier to determine a first channel gain imbalance measurement. A second digital filter configured to filter an output of the fourth multiplier to determine a second channel gain imbalance measurement. A calculator configured to determine a next value of the gain imbalance correction parameter based upon the first and second channel gain imbalance measurements.

[0014] In another embodiment, the invention is embodied in a receiver which has a first summer configured to sum a series of first channel signal samples with a first channel offset correction parameter to produce a corrected series of first channel samples. A first multiplier is configured to multiply the corrected series of the first channel samples and a phase error correction parameter. A second summer is configured to sum a series of second channel signal samples with a second channel offset correction parameter. A second multiplier is configured to multiply an output of the second summer by a gain imbalance correction. A third summer is configured to sum an output of the first multiplier and the second multiplier to create a corrected set of second channel samples, wherein the second channel is orthogonal to the first channel. A third multiplier is configured to multiply the corrected series of first channel samples by a first digitized sinusoidal waveform. A fourth multiplier is configured to multiply the corrected series of second channel samples by the first sinusoidal waveform to determine a third product. A first digital filter is configured to filter an output of the third multiplier to determine a first channel gain imbalance measurement. A second digital filter configured to filter an output of the fourth multiplier to determine a phase error measurement. A calculator configured to determine a next value of the phase correction parameter based upon the first gain imbalance measurement and the phase error measurement.

BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The features, objects and advantages of the present invention will become more apparent from the detailed description set forth below when taken in conjunction with the drawings in which like reference characters correspond throughout, and wherein:

[0016]FIG. 1 is a block diagram of a communication system comprising a direct conversion receiver and an adaptive calibration system according to the invention.

[0017]FIG. 2 is a block diagram of a direct conversion receiver according to the invention.

[0018]FIG. 3 is a block diagram showing the correction and measurement circuit of the direct conversion receiver in greater detail.

[0019]FIG. 4 is a block diagram showing a portion of the measurement circuit and a portion of the functions carried out by the digital processor.

[0020]FIG. 5 is a flow chart for determining the gain imbalance parameter.

[0021]FIG. 6 is a flow chart for determining a phase offset error parameter.

DETAILED DESCRIPTION OF THE INVENTION

[0022] Adaptive calibration is used to compensate for corruption introduced by a receiver. Adaptive calibration involves the measurement of current corruption, the calculation of updated correction parameters and the application of the updated correction parameters to the received signal. The process is iterative, and the calibration parameters adapt to the current operation conditions. For example, the corruption introduced by the receiver is typically a function of the frequency of operation and the temperature of operation. Thus, the corruption introduced by the receiver changes as a function of time. The iterative nature of adaptive calibration allows for compensation of such time varying operation. Corruption introduced by the receiver can create errors in the resulting digital bits output by the receiver and, thus, degrades the overall system performance.

[0023]FIG. 1 is a block diagram of a communication system 100. The communication system comprises an adaptive calibration system and method according to the invention for compensating for gain imbalances, quadrature errors and direct current (DC) and low frequency offset errors that occur in the implementation of a direct conversation digital receiver. An antenna and duplexer 102 couple the communication system 100 to and from a wireless link. In one embodiment, the antenna and duplexer 102 comprises a bandpass filter which functions to reduce the level of interfering signals outside of the range of received frequencies and prevents the aliasing of out of band energy into the signal band. The antenna and duplexer 102 couple receive signals from the wireless link to a single pole, double throw switch 106. Alternatively, as explained in more detail below, the switch 106 can be embodied as a coupler. In either case, the switch 106 couples receive signals from the antenna and duplexer 102 to a direct conversion receiver 110 (which is explained more fully below). The direct conversion receiver 110 receives the modulated signal at the wireless carrier frequency (f_(c)) and produces in-phase (I) and quadrature (Q) filtered signal samples. The antenna and duplexer 102 couple transmission signals from a transmitter 104 to the wireless link.

[0024] The I and Q filtered signal samples are output by the direct conversion receiver 110 to a digital processor 112. The digital processor 112 digitally demodulates the signal samples. In addition to many other functions, the digital processor 112 also provides frequency control, a signal waveform clock and transmission data. In one embodiment, the digital processor 112 is a general purpose microprocessor executing software code. Alternatively, the functions of the digital processor 112 can be implemented in an application specific integrated circuit (ASIC), with discrete hardware components, with software or with a combination of these.

[0025] As noted above, the communication system 100 incorporates an adaptive calibration system. The adaptive calibration system is used to compensate for corruption introduced by the direct conversion receiver 110. The adaptive calibration system is comprised of three functions: measurement, calculation and correction. In order to implement these functions, a calibration signal is generated and passed through the direct conversion receiver 110 and the results are analyzed by an adaptive measurement and calibration algorithm within the direct conversion receiver 110 and digital processor 112. For example, in one embodiment, during standard mode operation, a transmit frequency synthesizer 114 is used to generate a conversion signal for use within the transmitter 104. During calibration mode, the transmit frequency synthesizer 114 generates the RF calibration signal at the RF calibration frequency (f₀). A single pole, double throw switch 108 under the control of the digital processor 112 couples the output of the transmit frequency synthesizer 114 to either the switch 106 or the transmitter 104. (In one embodiment, the switch 108 and the switch 106 are embodied in a single integrated component using techniques well known in the art of switching.) During calibration mode, the switch 108 couples the RF calibration signal through the switch 106 to the direct conversion receiver 110. The direct conversion receiver 110 down-converts the calibration signal in the same manner as the wireless link RF carrier signal and generates I and Q filtered calibration samples for measurement. The direct conversion receiver 110 measures the errors introduced by the signal paths. Based on the measurements, the digital processor 112 calculates a series of calibration parameters and passes the calibration parameters to the direct conversion receiver 110. The direct conversion receiver 110 uses the calibration parameters in order to correct for the measured errors.

[0026] The communication system 100 operates in one of two operational modes: standard operation mode and calibration mode. In standard operation mode, the direct conversion receiver 110 uses the current correction parameters to compensate for corruption. In standard operation mode, the communications system 100 does not perform the measurement and calculation functions.

[0027] In calibration mode, the direct conversion receiver 110 measures the current operating conditions. Three different calibration modes are possible. Any one implementation can incorporate one, two or all three calibration modes. The three calibration modes are (1) concurrent external calibration mode, (2) concurrent internal calibration mode and (3) exclusive internal calibration mode.

[0028] During both internal calibration modes, the communication system 100 generates a calibration signal which is coupled to the direct conversion receiver 110. In concurrent internal calibration, the switch 106 functions as a coupler and the calibration signal is coupled to the direct conversion receiver 1 10 in addition to the wireless link signals received from the antenna and duplexer 102. In exclusive internal calibration mode, the switch 106 acts as a single pole, double throw switch which couples the input of the direct conversion receiver 110 to the calibration signal and decouples the direct conversion receiver 110 from the wireless link signal input from the antenna and duplexer 102.

[0029] In the external calibration mode, one of the input communication signals is used as the calibration signal. For example, the wireless link carries a calibration signal in the form of a constant waveform (CW) or narrow band data signal. In such a case, the switch 106 simply couples the output of the antenna duplexer 102 directly to the direct conversation receiver 110. Use of a communication signal for calibration eliminates the cost associated with generation of a separate calibration signal. The disadvantage of such operation is a reduction in overall system capacity and performance and the possibility of an increased noise level associated with the calibration process.

[0030] As noted above, during calibration mode, the measurement and calculation functions are executed. If accurate measurements and correct calculations can be achieved while operating in concurrent internal calibration mode, it is the preferred calibration mode. However, if prevailing conditions, such as the current operating levels of the wireless link signals, prevent accurate measurement in concurrent internal calibration mode, one of the other calibration modes can be used.

[0031] In the embodiment shown in FIG. 1, the calibration signal is generated by the transmit frequency synthesizer 114. The generation of the calibration signal by the transmit frequency synthesizer 114 provides an efficient architecture especially in those systems in which full duplex operation is not required. For example, in a Global System of Mobile Communications (GSM) system and in an United States Time Division Multiple Access (TDMA) system operating according to IS-54, the transmit and receive functions are time multiplexed leaving the transmit frequency synthesizer 114 idle during receive periods. Also, in such a TDMA system, the use of exclusive internal calibration mode during the period where no receive signal is directed towards the communication system 100 can provide an accurate measurement without sacrificing significant system performance. In an alternative embodiment, the calibration signal is generated by another frequency synthesizer such as, for example, a dedicated calibration signal synthesizer. A dedicated synthesizer can be used in a full duplex system, such as a CDMA system, and if re-calibration is required more often than the duty cycle of the transmitter permits.

[0032]FIG. 2 is a block diagram showing the direct conversion receiver 110 in greater detail. The direct conversion receiver 110 is comprised of a direct converter 120 which implements the actual down-conversion of the wireless link and calibration signals. For example, in one embodiment, the conversion is accomplished using translating delta-sigma modulators and decimation filtering. In another embodiment, the direct converter 120 is implemented using standard balanced mixers or other continuous time elements and the resultant analog signal is digitized in an analog-to-digital converter. In either case, the direct converter 120 comprises both an I path and a Q path and outputs in-phase path digital samples, Y_(I)[m], and quadrature path digital samples, Y_(Q)[m].

[0033] The output of the direct converter 120 is coupled to a correction and measurement circuit 122. The correction and measurement circuit 122 applies the current correction parameters to the digital samples. The correction and measurement circuit 122 outputs the corrected digital samples for the in-phase path, U_(I)[k], and quadrature path, U_(Q)[k], to the digital processor 112.

[0034] In calibration mode, the correction and measurement circuit 122 applies calibration parameters to the calibration signal. The correction and measurement circuit 122 then measures the resultant signal and generates measured parameters, C_(I)(j,f_(RX)), C_(Q)(j,f_(RX)), C_(β-I)(j,f_(RX),f_(λ)) C_(β-Q)(j,f_(RS),f_(λ)) and C_(φ)(j,f_(RX),f_(λ)) (each of which is explained more fully below) and supplies them to the digital processor 112.

[0035] A receive frequency synthesizer and clock generator 126 receives frequency control information from the digital processor 112 and a clock waveform from the digital processor 112. The synthesizer 126 produces a conversion reference signal having a frequency, f_(RX), approximately equal to or equal to a multiple of the RF carrier frequency of the wireless link signal which is currently being received. In addition, the synthesizer 126 produces a clock which is used by the analog-to-digital conversion process within the direct converter 120 and also by the correction and measurement circuit 122 to maintain synchronization between its input and its output.

[0036] In the preferred embodiment, during any one of the calibration modes, a calibration signal having a frequency f₀ is input into the direct converter 120. The direct converter 120 translates the calibration signal to a baseband frequency f_(OBB)=f_(RX)−f_(O). During concurrent mode calibration, the down-converted calibration frequency, f_(OBB), where f_(OBB) is greater than zero, is chosen to be outside of the bandwidth of the signals of interest so as not to interfere with the signals of interest.

[0037]FIG. 3 is a block diagram showing the correction and measurement circuit 122 in greater detail. Within the correction and measurement circuit 122, a multiplexer and clock distributor 130 receives the calibration parameters from the adaptive calibration algorithm and distributes them within the circuit 122. The value of the calibration parameters is dependent upon the conversation frequency, f_(RX), as well as time due to the iterative nature of the adaptive calibration as indicated by iteration indication variable, j. A summer 132 sums the I path digital samples, Y_(I)[m], with a offset correction parameter, R_(I−Offset)(j,f_(RX)), as determined by an I-offset correction block 134 based upon the output of the multiplexer and clock distributor 130. The I-offset correction block 134 compensates for the DC offset and low frequency error in the I path.

[0038] The output of the summer 132 is coupled to a delay unit 136. The delay unit 136 adds a delay in the I path to compensate for the additional computational delays associated with the Q path so that the I and Q path exhibit the same overall delay. The output of the summer 132 is also coupled to a multiply unit 138 used to provide phase error correction as explained more fully below.

[0039] The output of the delay unit 136 comprises the corrected signal samples in standard mode, internal concurrent calibration mode and external concurrent calibration mode. In addition, in any one of the calibration modes the corrected signal samples, U_(I)[k], comprise a corrected calibration signal. For example, Equation 1 below shows the relationship between the digital samples, Y_(I)[m], and the corrected samples, U_(I)[k].

U _(I)(k)=Y _(I)(m)+R _(I−Offset)(j,f _(RX))   Eq. 1

[0040] wherein:

[0041] R_(I−Offset)(j,f_(RX)) is the value of the j-th offset correction parameter for the in-phase path at the conversion frequency, f_(RX).

[0042] The Q path digital samples, Y_(Q)[m], are input into a summer 140. The summer 140 sums an offset correction parameter, R_(Q−Offset)(j,f_(RX)), to the Q path samples as determined by a Q-offset correction block 142 based upon the output of the multiplexer and clock distributor 130. The Q-offset correction block 142 compensates for the DC offset and low frequency error in the Q path.

[0043] The output of the summer 140 is multiplied by a Q path gain correction parameter, R_(Q−Q)(j,f_(RX)), in a multiply unit 144 as determined by the output of a gain imbalance correction unit 145 based upon the output of the multiplexer and clock generator 130. The multiply unit 144 compensates of gain imbalance between the I path and the Q path.

[0044] The multiply unit 138 multiples the corrected I path samples by a phase error correction parameter, R_(I−Q)(j,f_(RX)), as determined by the output of a phase correction block 139 based upon the output of the multiplexer and clock distributor 130. The output of the multiply unit 138 is summed with the output of the multiply unit 144 in a summer 146. The phase correction block 139, multiply unit 138 and summer 146 compensate for errors in the ideally 90 degree phase offset between the I path and the Q path. The resulting relationship between the digital samples, Y_(Q)[m], and the corrected samples, U_(Q)[k], is given below in Equation 2.

U _(Q)(k)=R _(Q−Q)(j,f _(RX)){Y _(Q)(m)+R _(Q−Offset)(j,f _(RX))}R _(I−Q)(j,f _(RX)){Y _(I)(m+R _(I−Offset)(j,f _(RX))}  Eq. 2

[0045] wherein:

[0046] R_(Q−Offset)(j,f_(RX)) is the value of j-th offset correction parameter for the quadrature path at the conversion frequency, f_(RX);

[0047] R_(Q−Q)(j,f_(RX)) is the value of the j-th quadrature path gain imbalance correction parameter at the conversion frequency, f_(RX); and

[0048] R_(I−Q)(j,f_(RX)) is the value of the j-th phase correction parameter at the conversion frequency, f_(RX).

[0049] As noted above, the correction parameters are a function of the conversion frequency and are adaptive and thus change over time. This dependency on frequency and time is shown by the parenthetical following the correction parameters as shown in both Equations 1 and 2.

[0050] The output of the summer 146 comprises signal samples in standard mode and in concurrent internal and external calibration modes. In addition, during any of the calibration modes, the output of the summer 146 comprises a calibration signal at the down-converted baseband frequency, f_(OBB).

[0051] Equations 3 and 4 provide a mathematical representation of the samples input to the in-phase and quadrature paths of the correction and measurement circuit 122.

Y _(I) [m]=cos[2πf _(OBB) T _(s) m]+N _(I)(m)+η_(I)(m)   Eq. 3

Y _(Q) [m]=A sin[2πf _(OBB) T _(s) m+Δ]+N _(Q)(m)+η_(Q)(m)   Eq. 4

[0052] wherein:

[0053] A is the gain of the Q channel normalized with respect to the I channel gain for calibration signal at f_(RX);

[0054] Δ is the phase error of the quadrature path with respect to the I channel at frequency f_(RX);

[0055] N_(I)(m) is the I channel interference components which include quantized and filtered signals, interference, quantization noise, high frequency modulation products, and quantized thermal noise;

[0056] N_(Q)(m) is the Q channel interference components which include quantized and filtered signals, interference, quantization noise, high frequency modulation products, and quantized thermal noise;

[0057] η_(I)(m) is the I channel DC and low frequency noise;

[0058] η_(Q)(m) is the Q channel DC and low frequency noise;

[0059] T_(s) is the sample rate of Y_(I)[m] and Y_(I)[m]; and

[0060] f_(OBB) is the translated calibration frequency, i.e. [f_(OBB)=f_(TX)−f_(RX)].

[0061] In Equations 3 and 4 it is assumed, for simplicity, that the initial phase of the calibration signal at the input to the correction and measurement circuit 122 is zero. Substituting Equations 3 and 4 into Equations 1 and 2 respectively yields Equations 3A and 4A respectively:

U _(I) [k]=cos[2πf _(OBB) T _(s) k]+N _(I)(k)+η_(I)(k)+R _(I−Offset)(j,f _(RX))   Eq. 3A

U _(Q)(k)=R _(Q−Q)(j,f _(RX)){Asin[2πf _(OBB) T _(s) k+Δ]+N _(Q)(k)+η_(Q)(k)+R _(Q−Offset)(j,f _(RX))}+R _(I−Q)(j,f _(RX)){cos[2πf _(OBB) T _(s) k]+N _(I)(k)+η_(I)(k)+R _(I−Offset)(j,f _(RX))}=R _(Q−Q)(j,f _(RX))Asin[2πf _(OBB) T _(s) k+Δ]+R _(I−Q)(j,f _(RX)){cos[2πf _(OBB) T _(s) k]+R _(Q−Q)(j,f _(RX)){N _(Q)(k)+η_(Q)(k)+R _(Q−Offset)(j,f _(RX))}+R _(I−Q)(j,f _(RX)){N _(I)(k)+η_(I)(k)+R _(I−Offset)(j,f _(RX))}=R _(Q−Q)(j,f _(RX))AcosΔsin[2πf _(OBB) T _(s) k]+{R _(Q−Q)(j,f _(RX))AsinΔ+R _(I−Q)(j,f _(RX))}cos[2πf _(OBB) T _(s) k]+R _(Q−Q)(j,f _(RX)){N _(Q)(k)+η_(Q)(k)+R _(Q−Offset)(j,f _(RX))}+R _(I−Q)(j,f _(RX)){N _(I)(k)+η_(I)(k)+R _(I−Offset)(j,f _(RX))}  Eq. 4A

[0062] From Equations 3A and 4A, the I and Q paths are balanced with no quadrature error at f_(RX) when R_(Q−Q)(j,f_(RX)) and R_(I−Q)(j,f_(RX)) are adjusted so that R_(Q−Q)(j,f_(RX))AcosΔ=1and R_(I−Q)(j,f_(RX))=−R_(Q−Q)(j,f_(RX))AsinΔ. This adjustment is accomplished using the adaptation algorithm of the invention.

[0063] An I-offset measurement unit 148 receives the corrected samples, U_(I)[k], as well as start and stop commands from the multiplexer and clock distributor 130 which determine the duration of the measurement. The I-offset measurement unit 148 filters the corrected samples using techniques well known in the art to produce a corresponding measurement parameter, C_(I)(j,f_(RX)), reflecting either the DC or low frequency offset or both found within the signal. The I-offset measurement unit 148 is shown in more detail in FIG. 4 and discussed more fully below.

[0064] Likewise, a Q-offset measurement unit 156 receives the Q path corrected samples, U_(Q)[k], and start and stop commands from the multiplexer and clock distributor 130 in order to determine the corresponding measurement parameter, C_(Q)(j,f_(RX)) reflecting either the DC or low frequency offset or both found in the signal. The Q-offset measurement unit 156 is shown in more detail in FIG. 4 and discussed more fully below.

[0065] In contrast to the gain imbalance and phase correction calibration explained in more detail below, the DC and low frequency correction can be made both during calibration mode and during standard operation. Therefore, in one embodiment, the DC calibration functions performed by I-offset measurement unit 148 and Q-offset measurement unit 156 can continue to adapt independent of the mode of operation.

[0066] According to the known techniques, such as those disclosed in U.S. Pat. No. 5,604,929 entitled “System for Correcting Quadrature Gain and Phase Error in a Direct Conversion Single Sideband Receiver Independent of the Character of the Modulated Signal”, one way to determine the amplitude of the calibration signal components of the corrected samples is to square the corrected samples. For example, squaring the corrected digital samples for the in-phase path, U_(I)[k], generates a DC component having an amplitude proportional to the amplitude of the in-phase path calibration signal according to well known mathematical principles. However, such non-coherent detection also results in the generation of a series of DC components due to noise and interference present in the signals. The DC components corrupt the measurement made during the calibration process. Due to the noise component, such non-coherent measurement generates an inaccurate measurement of the amplitude of the calibration signal.

[0067] In contrast, the invention uses coherent measurement of the amplitude of the down-converted calibration signal. It would be ideal if the Q path corrected samples could be directly subtracted from the I path corrected samples. However, I path component of the calibration signal is approximately 90 degrees out of phase with the Q path component. For example, if the I path component comprises a cosine term, the Q path component comprises a sine term. Thus, the I path and Q path components amplitudes cannot be directly subtracted from one another.

[0068] In order to perform coherent adaptive calibration, the I path channel samples, U_(I)(k), are multiplied by a cosine wave (or square wave having an equivalent phase relationship) having a frequency f_(λ) which is approximately, but not exactly, equal to the baseband frequency of the down-converted calibration signal, f_(OBB). In addition, the Q path corrected samples, U_(Q)(k), are multiplied by a sine wave (or square wave having an equivalent phase relationship) at frequency f_(λ). A calibration reference generator 152 generates the measurement reference waveforms at frequency f_(λ) determined by a parameter received from the multiplexer and clock distributor 130.

[0069] Both the I path corrected samples, U_(I)[k], and the Q path corrected samples, U_(Q)[k], are coupled to an I/Q gain imbalance measurement unit 150. The I/Q gain imbalance measurement unit 150 aids in determining the relative amplitude of I and Q paths by examination of the I path calibration signal amplitude and the Q path calibration signal amplitude using the sinusoidal signals generated by the calibration reference generator 152 and start and stop commands from the multiplexer and clock distributor 130. The I/Q gain imbalance measurement unit 150 is shown in more detail in FIG. 4 and discussed more fully below.

[0070] Likewise, a phase error measurement unit 154 receives the Q path corrected samples, U_(Q)[k], and start and stop commands from the multiplexer and clock distributor 130 using the sinusoidal signals generated by the calibration reference generator 152. The quadrature error measurement unit 154 is shown in more detail in FIG. 4 and discussed more fully below.

[0071] As illustrated in FIG. 4, the I-offset measurement unit 148 is shown to comprise a digital filter 170 and a sample rate compressor 172. Equation 5 expresses mathematically the relationship between the I path channel samples, U_(I)[k], input into the I-offset measurement unit 148 and the measurement parameter, C_(I)[j,f_(RX)], output by the I-offset measurement unit 148. $\begin{matrix} {{C_{I}\left\lbrack {j,f_{RX}} \right\rbrack} = {\sum\limits_{k = {K \cdot {({j - 1})}}}^{K \cdot j}\quad {{h_{I}\left( {{K \cdot j} - k} \right)}\left\{ {U_{I}\lbrack k\rbrack} \right\}}}} & {{Eq}.\quad 5} \end{matrix}$

[0072] where:

[0073] h_(I)(k) is the unit sample response of the digital low pass filter 170; and

[0074] K is the number of samples used in measurement by the sample rate compressor 172.

[0075] The output of the I-offset measurement unit 148 is input into an I-offset adaptive correction algorithm 200 which, in one embodiment, implements a stochastic gradient algorithm where the delay constant and the correction gain constant are tailored to the receiver noise figure. In addition, the gain constant can be a function of time or the measured error magnitude. Further information concerning stochastic gradient algorithms can be found in J. G. Proakis et al., Advanced Digital Signal Processing, pp. 341-350, (Macmillan Publishing Co., New York (1992.)) Equation 6 below expresses mathematically the operation carried out by the I-offset adaptive correction algorithm 200 to determine the next value of the offset correction parameter, R_(I−Offset)[k,f_(RX)].

R _(I−Offset) [j,f _(RX)]=ρ_(dc) R _(I−Offset)[(j−1), f _(RX)]+α_(dc) C _(I) [j,f _(RX)]  Eq. 6

[0076] where:

[0077] ρ_(dc) is a delay constant; and

[0078] α_(dc) is a correction gain term.

[0079] The I/Q gain imbalance measurement unit 150 comprises a multiplier 174, a digital filter 176 and a sample rate compressor 178. Within the I/Q gain imbalance measurement unit 150, Equation 7 expresses mathematically the relationship between the I path channel samples, U_(I)[k], input into the I/Q gain imbalance measurement unit 150 and the measurement, parameter, C_(β−I)[j,f_(RX),f_(λ)], output by the I/Q gain imbalance measurement unit 150. $\begin{matrix} {{C_{\beta \text{-}I}\left\lbrack {j,f_{RX},f_{\lambda}} \right\rbrack} = {\sum\limits_{k = {K \cdot {({j - 1})}}}^{K \cdot j}\quad {{h_{\beta}\left( {{K \cdot j} - k} \right)}\left\{ {{V_{I}(k)}{U_{I}\lbrack k\rbrack}} \right\}}}} & {{Eq}.\quad 7} \end{matrix}$

[0080] where:

[0081] h_(β)(k) is the unit sample response of the digital filter 176;

[0082] K is the number of samples used in measurement; and

[0083] V_(I)(k) is the cosine wave measurement reference signal.

[0084] The I/Q gain imbalance measurement unit 150 is also shown to comprise a multiplier 180, a digital filter 182 and a sample rate compressor 184. Equation 8 expresses mathematically the relationship between the Q path channel samples, U_(Q)[k], input into the I/Q gain imbalance measurement unit 150 and the measurement parameter, C_(β−Q)[j,f_(RX),f_(λ)], output by the I/Q gain imbalance measurement unit 150. $\begin{matrix} {{C_{\beta \text{-}Q}\left\lbrack {j,f_{RX},f_{\lambda}} \right\rbrack} = {\sum\limits_{k = {K \cdot {({j - 1})}}}^{K \cdot j}\quad {{h_{\beta}\left( {{K \cdot j} - k} \right)}\left\{ {{V_{Q}(k)}{U_{Q}\lbrack k\rbrack}} \right\}}}} & {{Eq}.\quad 8} \end{matrix}$

[0085] where:

[0086] h_(β)(k) is the unit sample response of the digital filter 182;

[0087] K is the number of samples used in measurement; and

[0088] V_(Q)(k) is the sine wave measurement reference signal.

[0089] Applying the equations developed above for U_(I)[k], Equation 9 illustrates mathematically, the operation carried out by the multiplier 174. The multiplier 174 multiples the value of U_(I)[k], as defined by Equation 3A, by the cosine wave at f_(λ) output by the calibration reference generator 152. Likewise, applying the equations developed above for U_(Q)[k], Equation 10 illustrates mathematically the operation carried out by the multiplier 180. The multiplier 180 multiplies the value of U_(Q)[k], as defined by equation 4A, by a sine wave at f_(λ) output by the calibration reference generator 152.

cos[2πf _(λ) T _(s) k]U _(I) [k]=cos[2πf _(λ) T _(s) k]{cos[2πf _(OBB) T _(s) k]+N _(I)(k)+η_(I)(k)+R _(I−Offset)(j,f _(RX)){=½cos[2π(f _(λ) −f _(OBB))T _(s) k]½cos[2πf _(λ) f _(OBB))T _(s) k]+N _(I)(k)cos[2πf _(λ) T _(s) k]+{η _(I)(k)+R _(I−Offset)(j,f _(RX))}cos[2πf _(λ) T _(s) k]  Eq. 9

sin[2πf _(λ) T _(s) k]U _(Q) [k]=R _(Q−Q)(j,f _(RX))AcosΔsin[2πf _(λ) T _(s) k]sin[2πf _(OBB) T _(s) k]+{R _(Q−Q)(j,f _(RX))AsinΔ+R _(I−Q)(j,f _(RX))}cos[2πf _(OBB) T _(s) k]sin[2πf _(λ) T _(s) k]+{R _(Q−Q)(j,f _(RX))N _(Q)(k)+R _(I−Q)(j,f _(RX))N _(I)(k)}sin[2πf _(λ) T _(s) k]+{[η_(Q)(k)+R _(Q−Offset)(j,f _(RX))]+[η_(I)(k)+R _(I−Offset)(j,f _(RX))]}sin[2πf _(λ) T _(s) k]=½R _(Q−Q)(j,f _(RX))AcosΔ{cos[2π(f _(λ) −f _(OBB))T _(s) k]−cos[2π(f _(λ) +f _(OBB))T _(s) k]}+½{R _(Q−Q)(j,f _(RX))AsinΔ+R _(I−Q)(j,f _(RX))}{sin[2π(f _(λ) −f _(OBB))T _(s) k]+sin[2π(f _(λ) +f _(OBB) T _(s) k]}+R _(Q−Q)(j,f _(RX))N _(Q)(k)+R _(I−Q)(j,f _(RX))N _(I)(k)}sin[2πf _(λ) T _(s) k]+{[η _(Q)(k)+R _(Q−Offset)(j,f _(RX))]+[η_(I)(k)+R _(I−Offset)(j,f _(RX))[}sin[2πf _(λ) T _(s) k]  Eq. 10

[0090] As shown mathematically by Equation 9A below, the filter 176 filters the terms having a frequency greater than f_(λ)−f_(OBB) which are output by the multiplier 174. As shown mathematically by Equation 10A below, the digital filter 182 filters out the terms having a frequency greater than f_(λ)−f_(OBB) which are output by the multiplier 180.

Filtered {cos[2πf _(λ) T _(s) k]U _(I) [k]}=½cos[2π(f _(λ) −f _(OBB))T _(s) k]+ξ_(I)(k)   Eq. 9A

Filtered {sin[2πf _(λ) T _(s) k]U _(Q) [k]}=½R _(Q−Q)(j,f _(RX))AcosΔ{cos[2π(f _(λ) −f _(OBB))T _(s) k]+½{R _(Q−Q)(j,f _(RX))}sin[2π(f _(λ) −f _(OBB))T _(s) k]+ξ _(Q)(k)   Eq. 10A

[0091] wherein:

[0092] ξ_(I)(k) is the residual noise after the filtering by the filter 176; and

[0093] ξ_(Q)(k) is the residual noise after the filtering by the filter 182.

[0094] The residual noise components can be further reduced by additional bandpass filtering centered at |f_(λ)−f_(OBB)|. Note that because the DC and low frequency contribution has been translated up to frequency f_(λ), it is effectively eliminated by filtering according to well known techniques. Thus, this process allows the I and Q imbalance correction parameter to be determined independent of the effectiveness of the DC and low frequency offset correction.

[0095] The output of the filter 176 is decimated in the sampling rate compressor 178 and coupled to an adaptive I-Q imbalance correction algorithm 202. Likewise, the output of the filter 182 is decimated in the sampling rate compressor 178 and coupled to the adaptive I-Q imbalance correction algorithm 202. The adaptive I-Q imbalance correction algorithm 202, in one embodiment, implements a stochastic gradient algorithm as described above. Equation 11 below expresses mathematically the operation carried out by the adaptive I-Q imbalance correction algorithm 202 to determine the next value of the correction parameter, R_(Q−Q)(j,f_(RX)).

R _(Q−Q) [j,f _(RX) ,f _(λ)]=ρ_(β) R _(Q−Q)[(j−1),f _(RX) ,f _(λ)]+α_(β) {[C _(β−I)(j,f _(RX) ,f _(λ))−C _(β−Q)(j,f _(RX) ,f _(λ))]C _(β−I)(j,f _(RX) ,f _(λ))}  Eq. 11

[0096] where:

[0097] C_(β−I)(j,f_(RX),f_(λ)) is the output of the sample rate compressor 178;

[0098] C_(β−Q)(j,f_(RX),f_(λ)) is the output of the sample rate compressor 184;

[0099] ρ_(β) is a decay constant and the |ρ_(β)|<1; and

[0100] α_(β) is a correction gain term.

[0101] In Equation 11, the correction signal is the product of the difference, the term [C_(β−I)(j,f_(RX),f_(λ))−C_(β−Q)(j,f_(RX),f_(λ))] and the term C_(β−I)(j,f_(RX),f_(λ)) where both contain components due to the calibration signal at the frequency [f_(OBB)−f_(λ)]. By choosing f_(OBB) and f_(λ) so that [f_(OBB)−f_(λ)] is close to zero, the low pass filters 178 and 182 will only pass the calibration signal components at the frequency [f_(OBB)−f_(λ)] and narrowband thermal noise. The resultant product contains components at DC and 2[f_(OBB)−f_(λ)] that are proportional to the imbalance error plus some corruption of the DC term due to the residual narrowband thermal noise. This correction signal is further filtered by the adaptive I-Q imbalance correction algorithm 202 according to Equation 11, if the iteration rate and decay constant are selected so as to reject the component at the frequency of 2[f_(OBB)−f_(λ)]. This adaptive I-Q balance correction approach effectively implements a narrow bandpass filter around [f_(OBB)−f_(λ)] which represents an offset from the region around zero frequency, thereby ameliorating the effects of DC offset and low frequency corruption of the input signals U_(I)[k] and U_(Q)[k]. For example, Equation 12 given below expands the term {[C_(β−I)(j,f_(RX),f_(λ))−C_(β−Q)(j,f_(RX),f_(λ))]C_(β−I)C_(β−I)(j,f_(RX),f_(λ))} to illustrate the bandpass nature of the operation performed by the adaptive I-Q imbalance correction algorithm 202.

C _(β−I)(j,f _(RX) ,f _(λ)){C _(β−I)(j,f _(RX),f_(λ))−C _(β−Q)(j,f _(RX) ,f _(λ))}=Filtered{cos[2πf _(λ) T _(s) k]U _(I) [k]}{Filtered{cos[2πf _(λ) T _(s) k]U _(I) [k]}−Filtered{sin[2πf _(λ) T _(s) k]U _(Q) [k]}  Eq. 12

[0102] $\begin{matrix} \begin{matrix} {{{C_{\beta \text{-}I}\left( {j,f_{RX},f_{\lambda}} \right)}\left\{ {{C_{\beta \text{-}I}\left( {j,f_{RX},f_{\lambda}} \right)} - {C_{\beta \text{-}Q}\left( {j,f_{RX},f_{\lambda}} \right)}} \right\}} =} \\ {\left. {{Filtered}\left\{ {\cos \left\lbrack {2\quad \pi \quad f_{\lambda}T_{s}k} \right\rbrack} \right\} {U_{I}\lbrack k\rbrack}} \right\} \left\{ {{{{Filtered}\left\{ {{\cos \left\lbrack {2\quad \pi \quad f_{\lambda}T_{s}k} \right\rbrack}{U_{I}\lbrack k\rbrack}} \right\}} - {{Filtered}\left\{ {{\sin \left\lbrack {2\quad \pi \quad f_{\lambda}T_{s}k} \right\rbrack}{U_{Q}\lbrack k\rbrack}} \right\}}} =} \right.} \\ {{{\frac{1}{8}\left\lbrack {1 - {{R_{Q\text{-}Q}\left( {j,f_{RX}} \right)}A\quad \cos \quad \Delta}} \right\rbrack}\left\{ {1 + {1\quad {\cos \left\lbrack {4{\pi \left( {f_{\lambda} - f_{OBB}} \right)}T_{s}k} \right\rbrack}} + {2\quad {\xi_{I}(k)}\quad {\cos \left\lbrack {2{\pi \left( {f_{\lambda} - f_{OBB}} \right)}T_{s}k} \right\rbrack}} + {8\left\lbrack {\xi_{I}(k)} \right\rbrack}^{2}} \right\}} -} \\ {{{\frac{1}{8}\left\lbrack {{{R_{Q\text{-}Q}\left( {j,f_{RX}} \right)}A\quad \sin \quad \Delta} + {R_{I\text{-}Q}\left( {j,f_{RX}} \right)}} \right\rbrack}\left\{ {{\sin \left\lbrack {4\quad {\pi \left( {f_{\lambda} - f_{OBB}} \right)}T_{s}k} \right\rbrack} + {4\quad {\xi_{Q}(k)}\quad {\cos \left\lbrack {2{\pi \left( {f_{\lambda} - f_{OBB}} \right)}T_{s}k} \right\rbrack}}} \right\}} -} \\ {\frac{1}{8}{\xi_{I}(k)}\left\{ {{4{R_{Q\text{-}Q}\left( {j,f_{RX}} \right)}A\quad \cos \quad \Delta \quad {\cos \left\lbrack {2{\pi \left( {f_{\lambda} - f_{OBB}} \right)}T_{s}k} \right\rbrack}} + {4\left\lbrack {{{R_{Q\text{-}Q}\left( {j,f_{RX}} \right)}A\quad \sin \quad \Delta} + {R_{I\text{-}Q}\left( {j,f_{RX}} \right)}} \right\rbrack}} \right.} \\ \left. {\left\lbrack {\sin \left\lbrack {2\quad {\pi \left( {f_{\lambda} - f_{OBB}} \right)}T_{s}k} \right\rbrack} \right\} + {{\xi_{I}(k)}{\xi_{Q}(k)}}} \right\} \end{matrix} & {{Eq}.\quad 12} \end{matrix}$

[0103] Observing that the residual noise after the filtering by the filter 176, ξ_(I)(k), is uncorrelated with the residual noise after the filtering by the filter 182, ξ_(Q)(k), low pass filtering can eliminate all but the DC term and the low frequency portion of [ξ_(I)(k)]² as reflected in Equation 12A below.

Filtered[C _(β−I)(j,f _(RX) ,f _(λ)){C _(β−I)(j,f _(RX) ,f _(λ))−C _(β−Q)(j,f _(RX) ,f _(λ))}]=⅛[1−R _(Q−Q)(j,f _(RX))AcosΔ]Filtered{[ξ_(I)(k)]²}  Eq. 12A

[0104] Thus, balance is derived when R_(Q−Q)(j,f_(RX))AcosΔ=1 as limited by the value of Filtered [ξ_(I)(k)]².

[0105] The quadrature error measurement unit 154 is shown to comprise a multiplier 186, a digital filter 188 and a sample rate compressor 190. Equation 13 expresses mathematically the relationship between the Q path channel samples, U_(Q)[k], input into the quadrature error measurement unit 154 and the measurement parameter, Cφ[j,f_(RX),f_(λ)], output by the quadrature error measurement unit 154. $\begin{matrix} {{C_{\varphi}\left\lbrack {j,f_{RX},f_{\lambda}} \right\rbrack} = {\sum\limits_{k = {K \cdot {({j - 1})}}}^{K \cdot j}\quad {{h_{\varphi}\left( {{K \cdot j} - k} \right)}\left\{ {{V_{I}(k)}{U_{Q}\lbrack k\rbrack}} \right\}}}} & {{Eq}.\quad 13} \end{matrix}$

[0106] where:

[0107] h_(φ)(k) is the unit sample response of the digital filter 188; and

[0108] K is the number of samples used in the measurement.

[0109] Applying the equations developed above for U_(Q)[k], Equation 14 illustrates mathematically, the operation carried out by the multiplier 186. The multiplier 186 multiples the values of U_(Q)[k], as defined by Equation 4A by the cosine wave at f_(λ) output by the calibration reference generator 152.

cos[2πf _(λ) T _(s) k]U _(Q) [k]=R _(Q−Q)(j,f _(RX))AcosΔcos[2πf _(λ) T _(s) k]sin[2πf _(OBB) T _(s) k]+{R _(Q−Q)(j,f _(RX))AsinΔ+R _(I−Q)(j,f _(RX))}cos[2πf _(OBB) T _(s) k]cos[2πf _(λ) T _(s) k]+R _(Q−Q)(j,f _(RX))N _(Q)(k)+R _(I−Q)(j,f _(RX))N _(Q)(k)}cos[2πf _(λ) T _(s) k]+{[η _(Q)(k)+R _(Q−Offset)(j,f _(RX))]}cos[2πf _(λ) T _(s) k]≦½R _(Q−Q)(j,f _(RX))AcosΔ{−sin[2π(f _(λ) −f _(OBB))T _(s) k]+sin[2π(f _(λ) +f _(OBB))T _(s) k]}+½{R _(Q−Q)(j,f _(RX))AsinΔ+R _(I−Q)(j,f _(RX))}cos[2π(f _(λ) −f _(OBB))T _(s) k]+cos[2π(f _(λ) −f _(OBB))T _(s) k]}+R _(Q−Q)(j,f _(RX))N _(Q)(k)+R _(I−Q)(j,f _(RX))N _(I)(k)}cos[2πf _(λ) T _(s) kπ+{[η _(Q)(k)+R _(Q−Offset)(j,f _(RX))]+[η_(I)(k)+R _(I−Offset)(j,f _(RX))]}cos[2πf _(λ) T _(s) k]  Eq. 14

[0110] The filter 188 filters the terms having a frequency greater than f_(λ)−f_(OBB) which are output by the multiplier 186 as shown mathematically by Equation 14A below.

C _(φ)(j,f _(RX) ,f _(λ))=−{fraction (1/2)}R _(Q−Q)(j,f _(RX))AcosΔcos[2π(f _(λ) −f _(OBB))T _(s) k]+½{R _(Q−Q)(j,f _(RX))AsinΔ+R _(I−Q)(j,f _(RX))}cos[2π(f _(λ) −f _(OBB))T _(s) k]+ξ_(φ)(k)   Eq. 14A

[0111] wherein

[0112] ξ_(φ)(k) is the residual noise after the filtering with filter 188.

[0113] The residual noise components can be further reduced by additional bandpass filtering centered at |f_(λ)−f_(OBB)|. Note that because the DC and low frequency contribution has been translated up to frequency f_(λ), it is effectively eliminated by filtering according to well known techniques. Thus, this process allows the phase error correction parameter to be determined independent of the effectiveness of the DC and low frequency offset correction.

[0114] The output of the sampling rate compressor 178 is coupled to the adaptive phase error correction algorithm 204. The adaptive phase error correction algorithm 204, in one embodiment, implements a stochastic gradient algorithm as described above. Equation 15 below expresses mathematically the operation carried out by the adaptive phase error correction algorithm 204 to determine the next value of the correction parameter, R_(I−Q)(j,f_(RX)).

R _(I−Q) [j,f _(RX) ,f _(λ)]=ρ_(φ) R _(I−Q)[(j−1),f _(RX) ,f _(λ)]+α_(φ) C _(β−I)(j,f _(RX) ,f _(λ))C _(φ)(j,f _(RX) ,f _(λ)))   Eq. 15

[0115] where:

[0116] ρ_(φ) is a decay constant and |ρ_(φ)|<1; and

[0117] α_(φ) is a correction gain term.

[0118] In Equation 15, the correction signal is the product of the term [C_(β−Q)(j,f_(RX),f_(λ))] and the term C_(β−I)(j,f_(RX),f_(λ)) where both contain components component due to the calibration signal at the frequency [f_(OBB)−f_(λ)]. The resultant product contains components at DC and 2[f_(OBB)−f_(λ)] that are proportional to the quadrature error plus some corruption of the DC term due to the residual narrowband thermal noise. This correction signal is further filtered by Equation 15, if the iteration rate and decay constant are selected so as to reject the component at the frequency of 2[f_(OBB)−f_(λ)]. This approach effectively implements a narrow bandpass filter around [f_(OBB)−f_(λ)] which represents an offset the region around zero frequency thereby ameliorating the effects of DC offset and low frequency corruption of the input signals U_(I)(k) and U_(Q)(k). For example, Equation 16 given below expands the term {C_(φ)(j,f_(RX),f_(λ)) C_(β−I)(j,f_(RX),f_(λ))} to illustrate the bandpass nature of the operation performed by the adaptive phase error correction algorithm 204.

C _(φ)(j,f _(RX) ,f _(λ))C _(β−I)(j,f _(RX) ,f _(λ))32 {½cos[2π(f _(λ) −f _(OBB))T _(s) k]+ξ _(I)(k)}{−½R _(Q−Q)(j,f _(RX))AcosΔsin[2π(f _(λ) −f _(OBB))T _(s) k]+½{R _(Q−Q)(j,f _(RX))AsinΔ+R _(I−Q)(j,f _(RX))}cos[2π(f _(λ) −f _(OBB))T _(s) k]+ξ _(φ)(k)}=⅛{[R _(Q−Q)(j,f _(RX))AsinΔR _(I−Q)(j,f _(RX))]+R _(Q−Q)(j,f _(RX))AcosΔsin[4π(f _(λ) −f _(OBB))T _(s) k]+[R _(Q−Q)(j,f _(RX))AsinΔ+R _(I−Q)(j,f _(RX))]cos[4π(f _(λ) −f _(OBB))T _(s) k]+4ξ_(φ)(k)cos[2π(f _(λ) −f _(OBB))T _(s) k]}+ξ _(I)(k){−½R _(Q−Q)(j,f _(RX))AcosΔsin[2π(f _(λ) −f _(OBB))T _(s) k]+½{R _(Q−Q)(j,f _(RX))AsinΔ+R _(I−Q)(j,f _(RX))}cos[2π(f _(λ) −f _(OBB))T _(s) k]}+ξ _(I)(k)ξ_(φ)(k)   Eq. 16

[0119] Observing that the residual noise after the filtering by the filter 188, ξ_(N)(k), is uncorrelated with the residual noise after the filtering by the filter 176, ξ_(I)(k), Equation 16 reduces to Equation 16A given below.

Filtered[C _(φ)(j,f _(RX) ,f _(λ))C _(β−I)(j,f _(RX) ,f _(λ))]=⅛{[R _(Q−Q)(j,f _(RX))AsinΔ+R _(I−Q)(j,f _(RX))]  Eq. 16A

[0120] Thus, the adaptive phase error correction algorithm 204 adjusts the next value of. R_(I−Q)(j,f_(RX)) such that R_(I−Q)(j,f_(RX))=−R_(Q−Q)(j,f_(RX))AsinΔ.

[0121] The Q-offset measurement unit 156 comprises a digital filter 192 and a sample rate compressor 194. Equation 17 expresses mathematically the relationship between the Q path channel samples, U_(Q)[k], input into the Q-offset measurement unlit 156 and the measurement parameter, C_(Q)[j,f_(RX)], output by the Q-offset measurement unit 156. $\begin{matrix} {{C_{Q}\left\lbrack {j,f_{RX}} \right\rbrack} = {\sum\limits_{k = {K \cdot {({j - 1})}}}^{K \cdot j}\quad {{h_{Q}\left( {{K \cdot j} - k} \right)}\left\{ {U_{Q}\lbrack k\rbrack} \right\}}}} & {{Eq}.\quad 17} \end{matrix}$

[0122] where:

[0123] h_(Q)(k) is the unit sample response of the digital filter 192; and

[0124] K is the number of samples used in measurement by the sample rate compressor 194.

[0125] The output of the Q-offset measurement unit 156 is input into a Q-offset adaptive correction algorithm 206 which, in one embodiment, implements a stochastic gradient algorithm as described above. Equation 18 below expresses mathematically the operation carried out by the Q-offset adaptive correction algorithm 206 to determine the next value of the correction parameter, R_(Q-Offset)(j,f_(RX)).

R _(Q−Offset) [j,f _(RX)]=ρ_(dc) R _(Q−Offset)[(j−1),f _(RX)]+α_(dc) C _(Q)(j,f _(RX))   Eq. 18

[0126] where:

[0127] ρ_(dc) is a delay constant; and

[0128] α_(dc) is a correction gain termi.

[0129]FIG. 5 is a flow chart showing one embodiment of the invention. In block 220, a set of I path digital samples, Y_(I)[m], and Q path digital samples, Y_(Q)[m], of a calibration signal at a baseband frequency f_(OBB) are generated. In block 222, an I offset correction parameter is added to the I path digital samples. In block 224, a Q offset correction parameter is added to the Q path digital samples. This total is multiplied by a gain imbalance correction parameter and a phase error correction parameter is added to the result. In block 226, the corrected I path samples are multiplied by a cosine wave at f_(λ) and the result is filtered and subsampled. In block 228, the corrected Q path samples are multiplied by a sine wave at f_(λ) and the result is filtered and subsampled. In block 230, the next value of the gain imbalance parameter is determined based upon the previous value and the results of block 226 and 228.

[0130]FIG. 6 is a flowchart showing a second embodiment of the invention which may be combined with the embodiment shown in FIG. 5 or used separately. In block 240, a set of I path digital samples, Y_(I)[m], and Q path digital samples, Y_(Q)[m], of a calibration signal at a baseband frequency f_(OBB) are generated. In block 242, an I offset correction parameter is added to the I path digital samples. In block 244, a Q offset correction parameter is added to the Q path digital samples. This total is multiplied by a gain imbalance correction parameter and a phase error correction parameter is added to the result. In block 246, the corrected I path samples are multiplied by a cosine wave at f_(λ) and the result is filtered and subsampled. In block 248, the corrected Q path samples are multiplied by a cosine wave at f_(λ) and the result is filtered and subsampled. In block 250, the next value of the gain imbalance parameter is determined based upon the previous value and the results of block 226 and 228.

[0131] The functional blocks and method steps described herein can be distributed in a variety of media. In one embodiment, a general purpose microprocessor executing software code is used to implement all or a portion of the functions. Alternatively, some or all of the functions can be implemented in an application specific integrated circuit (ASIC), with discrete hardware components or in software or firmware. The functions of the I channel and Q channel function can be reversed so long as the two channels are orthogonal to one another.

[0132] The invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiment is to be considered in all respects only as illustrative and not restrictive and the scope of the invention is, therefore, indicated by the appended claims rather than the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope. $\begin{matrix} \begin{matrix} \begin{matrix} {{Generate}\quad I\quad {path}\quad {digital}\quad {samples}\quad {Y_{1}\lbrack m\rbrack}\quad {and}\quad Q\quad {path}\quad {digital}} \\ {{samples}\quad {Y_{Q}\lbrack m\rbrack}\quad {of}\quad a\quad {calibration}\quad {signal}\quad {at}\quad a\quad {baseband}} \end{matrix} \\ {{frequency}\quad {T_{OBB}.}} \end{matrix} & 220 \\ \begin{matrix} \begin{matrix} {{Add}\quad {an}\quad I\quad {offset}\quad {correction}\quad {parameter}\quad {to}\quad {the}\quad I\quad {path}\quad {digital}} \\ {samples} \end{matrix} \\ {{U_{I}(k)} = {{Y_{I}(m)} + {R_{I - {Offset}}\left( {j,f_{RX}} \right)}}} \end{matrix} & 222 \\ \begin{matrix} \begin{matrix} {{{Add}\quad a\quad Q\quad {offset}\quad {correction}\quad {parameter}},{{multiply}\quad {by}\quad a\quad {gain}}} \\ {{imbalance}\quad {correction}\quad {and}\quad {add}\quad {phase}\quad {correction}\quad {to}\quad {the}\quad Q} \end{matrix} \\ {{path}\quad {digital}\quad {samples}} \\ {{U_{Q}(k)} = {{{R_{Q - Q}\left( {j,f_{RX}} \right)}\left\{ {{Y_{Q}(m)} + {R_{Q - {Offset}}\left( {j,f_{RX}} \right)}} \right\}} +}} \\ {{R_{I - Q}\left( {j,f_{RX}} \right)}\left\{ {Y_{I}\left( {m + {R_{I - {Offset}}\left( {j,f_{RX}} \right)}} \right\}} \right.} \end{matrix} & 224 \\ \begin{matrix} \begin{matrix} {{{Multiplying}\quad {U_{I}(k)}\quad {by}\quad a\quad {cosine}\quad {wave}\quad {at}\quad f_{\lambda}},{approximately}} \\ {{equal}\quad {to}\quad f_{OBB}} \end{matrix} \\ {{C_{\beta - I}\left\lbrack {j,f_{RX},f_{\lambda}} \right\rbrack} = {\sum\limits_{k = {K \cdot {({j - 1})}}}^{K \cdot j}{{h_{\beta}\left( {{K \cdot j} - k} \right)}\left\{ {{V_{I}(k)}{U_{I}(k)}} \right\}}}} \end{matrix} & 226 \\ \begin{matrix} \begin{matrix} {{{Multiplying}\quad {U_{Q}(k)}\quad {by}\quad a\quad {sine}\quad {wave}\quad {at}\quad f_{\lambda}},{approximately}} \\ {{equal}\quad {to}\quad f_{OBB}} \end{matrix} \\ {{C_{\beta - Q}\left\lbrack {j,f_{RX},f_{\lambda}} \right\rbrack} = {\sum\limits_{k = {K \cdot {({j - 1})}}}^{K \cdot j}{{h_{\beta}\left( {{K \cdot j} - k} \right)}\left\{ {{V_{Q}(k)}{U_{Q}(k)}} \right\}}}} \end{matrix} & 228 \\ \begin{matrix} \begin{matrix} {{Determining}\quad {the}\quad {next}\quad {value}\quad {of}\quad {the}\quad {imbalance}\quad {parameter}} \\ {{R_{Q - Q}\left\lbrack {j,f_{RX},f_{\lambda}} \right\rbrack} = \underset{\quad}{{\rho_{\beta}{R_{Q - Q}\left\lbrack {\left( {j - 1} \right),f_{RX},f_{\lambda}} \right\rbrack}} +}} \end{matrix} \\ {\alpha_{\beta}\left\{ {\left\lbrack {{C_{\beta - I}\left( {j,f_{RX},f_{\lambda}} \right)} - {C_{\beta - Q}\left( {j,f_{RX},f_{\lambda)}} \right)}} \right\rbrack {C_{\beta - I}\left( {j,f_{RX},f_{\lambda}} \right)}} \right\}} \end{matrix} & 230 \\ \begin{matrix} {{Generate}\quad I\quad {path}\quad {digital}\quad {samples}\quad {Y_{I}\lbrack m\rbrack}\quad {and}\quad Q\quad {path}\quad {digital}} \\ \begin{matrix} {{{samples}\quad {Y_{Q}\lbrack m\rbrack}\quad {of}\quad a\quad {calibration}\quad {signal}\quad {at}}\quad} \\ {a\quad {baseband}\quad {frequency}\quad {T_{OBB}.}} \end{matrix} \end{matrix} & 240 \\ \begin{matrix} {{Add}\quad {an}\quad I\quad {offset}\quad {correction}\quad {parameter}\quad {to}\quad {the}\quad I\quad {path}\quad {digital}} \\ {samples} \\ {{U_{I}(k)} = {{Y_{I}(m)} + {R_{I - {Offset}}\left( {j,f_{RX}} \right)}}} \end{matrix} & 242 \\ \begin{matrix} \begin{matrix} \begin{matrix} \begin{matrix} {{{Add}\quad a\quad Q\quad {offset}\quad {correction}\quad {parameter}},{{multiply}\quad {by}\quad a\quad {gain}}} \\ {{{imbalance}\quad {correction}\quad {and}\quad {add}\quad {phase}\quad {correction}\quad {to}\quad {the}\quad Q}\quad} \end{matrix} \\ {{path}\quad {digital}\quad {samples}} \end{matrix} \\ {{U_{Q}(k)} = {{{R_{Q - Q}\left( {j,f_{RX}} \right)}\left\{ {{Y_{Q}(m)} + {R_{Q - {Offset}}\left( {j,f_{RX}} \right)}} \right\}} +}} \end{matrix} \\ {{R_{I - Q}\left( {j,f_{RX}} \right)}\left\{ {Y_{I}\left( {m + {R_{I - {Offset}}\left( {j,f_{RX}} \right)}} \right\}} \right.} \end{matrix} & 244 \\ \begin{matrix} \begin{matrix} {{{{Multiplying}\quad {U_{I}(k)}\quad {by}\quad a\quad {cosine}\quad {wave}\quad {at}\quad f_{\lambda}},}\quad} \\ {{approximately}\quad {equal}\quad {to}\quad f_{OBB}} \end{matrix} \\ {{C_{\beta - I}\left\lbrack {j,f_{RX},f_{\lambda}} \right\rbrack} = {\sum\limits_{k = {K \cdot {({j - 1})}}}^{K \cdot j}{{h_{\beta}\left( {{K \cdot j} - k} \right)}\left\{ {{V_{I}(k)}{U_{I}(k)}} \right\}}}} \end{matrix} & 246 \\ \begin{matrix} \begin{matrix} {{{Multiplying}\quad {U_{Q}(k)}\quad {by}\quad a\quad {cosine}\quad {wave}\quad {at}\quad f_{\lambda}},{approximately}} \\ {{equal}\quad {to}\quad f_{OBB}} \end{matrix} \\ {{C_{\varphi}\left\lbrack {j,f_{RX},f_{\lambda}} \right\rbrack} = {\sum\limits_{k = {K \cdot {({j - 1})}}}^{K \cdot j}{{h_{\varphi}\left( {{K \cdot j} - k} \right)}\left\{ {{V_{I}(k)}{U_{Q}(k)}} \right\}}}} \end{matrix} & 248 \\ \begin{matrix} \begin{matrix} {{Determining}\quad {the}\quad {next}\quad {value}\quad {of}\quad {phase}\quad {correction}\quad {parameter}} \\ {{R_{I - Q}\left\lbrack {j,f_{RX},f_{\lambda}} \right\rbrack} = {{\rho_{\varphi}{R_{I - Q}\left\lbrack {\left( {j - 1} \right),f_{RX},f_{\lambda}} \right\rbrack}} +}} \end{matrix} \\ \left. {\alpha_{\varphi}{C_{\beta - 1}\left( {j,f_{RX},f_{\lambda}} \right)}{C_{\varphi}\left( {j,{f_{RX}.f_{\lambda}}} \right)}} \right) \end{matrix} & 250 \end{matrix}$ 

What is claimed is:
 1. A coherent adaptive calibration method for calibration of a receiver, comprising the steps of. summing a series of first channel signal samples with a first channel offset correction parameter to produce a corrected series of first channel samples; summing a series of second channel signal samples with a second channel offset correction parameter, multiplying by a gain imbalance correction parameter and summing a product of said corrected series of said first channel samples and a phase error correction parameter to create a corrected set of second channel samples, wherein said second channel is orthogonal to said first channel; multiplying said corrected series of first channel samples with a first sinusoidal waveform to determine a first product; mulitiplying said corrected series of second channel samples with a second sinusoidal waveform to determine a second product, said second sinusoidal waveform being 90 degrees out of phase with said first sinusoidal waveform; filtering said first product to determine a first channel gain imbalance measurement; filtering said second product to determine a second channel gain imbalance measurement; and determining a next value of said gain imbalance correction parameter based upon said first and second channel gain imbalance measurements.
 2. The method of claim 1 wherein said step of determining is executed by directly taking a difference between said first and second channel gain imbalance measurements.
 3. The method of claim 1 wherein said series of channel samples comprises a calibration signal received over the air.
 4. The method of claim 1 wherein said series of channel samples comprises energy received over the air and a calibration signal from an internal source.
 5. The method of claim 1 wherein said step of determining said next value of said gain imbalance correction parameter is executed using a stochastic gradient equation.
 6. The method of claim 1 wherein said steps of filtering and multiplying are executed digitally.
 7. The method of claim 6 further comprising the steps of: digitally multiplying said corrected series of second channel samples with said first sinusoidal waveform to determine a third product; digitally filtering said third product to determine a phase error measurement; and determining a next value of said phase correction parameter based upon said first gain imbalance measurement and said phase error measurement.
 8. A receiver, comprising: a first summation module configured to sum a series of first channel signal samples with a first channel offset correction parameter to produce a corrected series of first channel samples; a second summation module configured to sum a series of second channel signal samples with a second channel offset correction parameter, multiplying by a gain imbalance correction parameter and summing a product of said corrected series of said first channel samples and a phase error correction parameter to create a corrected set of second channel samples, wherein said second channel is orthogonal to said first channel; means for multiplying said corrected series of first channel samples with a first sinusoidal waveform to determine a first product; means for multiplying said corrected series of second channel samples with said first sinusoidal waveform to determine a third product; means for filtering said first product to determine a first channel gain imbalance measurement; means for filtering said third product to determine a phase error measurement; and means for determining a next value of said phase correction parameter based upon said first gain imbalance measurement and said phase error measurement.
 9. A receiver, comprising: a first summation module configured to sum a series of first channel signal samples with a first channel offset correction parameter to produce a corrected series of first channel samples; a second summation module configured to sum a series of second channel signal samples with a second channel offset correction parameter, multiplying by a gain imbalance correction parameter and summing a product of said corrected series of said first channel samples and a phase error correction parameter to create a corrected set of second channel samples, wherein said second channel is orthogonal to said first channel; means for multiplying said corrected series of first channel samples with a first sinusoidal waveform to determine a first product; means for multiplying said corrected series of second channel samples with a second sinusoidal waveform to determine a second product, said second sinusoidal waveform being 90 degrees out of phase with said first sinusoidal waveform; means for filtering said first product to determine a first channel gain imbalance measurement; means for filtering said second product to determine a second channel gain imbalance measurement; and means for determining a next value of said gain imbalance correction parameter based upon said first and second channel gain imbalance measurements.
 10. The receiver of claim 9 wherein said means for multiplying and said means for filtering are digital.
 11. A receiver, comprising: a first summer configured to sum a series of first channel signal samples with a first channel offset correction parameter to produce a corrected series of first channel samples; a first multiplier configured to multiply said corrected series of said first channel samples and a phase error correction parameter; a second summer configured to sum a series of second channel signal samples with a second channel offset correction parameter; a second multiplier configured to multiply an output of said second summer by a gain imbalance correction; a third summer configured to sum an output of said first multiplier and said second multiplier to create a corrected set of second channel samples, wherein said second channel is orthogonal to said first channel; a third multiplier configured to multiply said corrected series of first channel samples by a first digitized sinusoidal waveform; a fourth multiplier configured to multiply said corrected series of second channel samples by a second digitized sinusoidal waveform, said second digitized sinusoidal waveform being 90 degrees out of phase with said first digitized sinusoidal waveform; a first digital filter configured to filter an output of said third multiplier to determine a first channel gain imbalance measurement; a second digital filter configured to filter an output of said fourth multiplier to determine a second channel gain imbalance measurement; and a calculator configured to determine a next value of said gain imbalance correction parameter based upon said first and second channel gain imbalance measurements.
 12. A receiver, comprising: a first summer configured to sum a series of first channel signal samples with a first channel offset correction parameter to produce a corrected series of first channel samples; a first multiplier configured to multiply said corrected series of said first channel samples and a phase error correction parameter; a second summer configured to sum a series of second channel signal samples with a second channel offset correction parameter; a second multiplier configured to multiply an output of said second summer by a gain imbalance correction; a third summer configured to sum an output of said first multiplier and wherein said second channel is orthogonal to said first channel; a third multiplier configured to multiply said corrected series of first channel samples by a first digitized sinusoidal waveform; a fourth multiplier configured to multiply said corrected series of second channel samples by said first sinusoidal waveform to determine a third product; a first digital filter configured to filter an output of said third multiplier to determine a first channel gain imbalance measurement; a second digital filter configured to filter an output of said fourth multiplier to determine a phase error measurement; and a calculator configured to determine a next value of said phase correction parameter based upon said first gain imbalance measurement and said phase error measurement. 